﻿$CurrentLocation = Get-Location
Write-Host "current workspace $($CurrentLocation)"

[string[]]$IgnorePaths = @(".git",".vs","dist","node_modules")

.\Gitee\GiteeEntry.ps1 `
-UserName "13604461032@163.com" `
-Password "94263264*Lxf" `
-ClientId "dafaa02d41fa601c864324fea4701a453baa369d4683d1ed653c021f9c5daf59" `
-ClientSecret "c00968e639a6bcd28411807f5ff7e0a843945441f1b1130452c4a7e6852ca798" `
-Scope "projects user_info issues notes" `
-RepositoryName "flyingeye-native" `
-Owner "git-unknowname" `
-RepositoryDirectory "E:\Projects\WebProjects\flyingeye-native" `
-Method "pull" `
-CleanAfterPull $true `
-IgnorePaths $IgnorePaths

Set-Location $CurrentLocation

Write-Host "press any key to exit..."
Read-Host